//
//  GKZYNewsView.m
//  GKZYAid
//
//  Created by lanou3g on 16/3/1.
//  Copyright © 2016年 GKZYAid. All rights reserved.
//

#import "GKZYNewsView.h"

@implementation GKZYNewsView
- (instancetype)initWithFrame:(CGRect)frame{
    
    if (self = [super initWithFrame:frame]) {
        
        [self addViews];
    }
    
    return self;
}

- (void)addViews{
    
    self.tableView = [[UITableView alloc]initWithFrame:[UIScreen mainScreen].bounds style:UITableViewStyleGrouped];
    [self addSubview:self.tableView];
}

/*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.
 - (void)drawRect:(CGRect)rect {
 // Drawing code
 }
 */

@end
